package com.plate.modules.system.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.plate.common.datasource.base.IMyBaseService;
import com.plate.modules.system.domain.po.SysUserRole;
import com.plate.modules.system.mapper.SysUserRoleMapper;

import java.util.List;

/**
 * @ClassName ISysUserRoleService
 * @Description TODO
 * @Author jiaxd
 * @Date 2023年10月23日 23:01
 * @Version 1.0
 */

public interface ISysUserRoleService extends IMyBaseService<SysUserRole> {
    void removeBatch(Long roleId, List<String> collect);

    List<Long> listByRoleId(Long roleId);


    boolean delete(Long roleId, Long userId);

    int saveBatch(List<SysUserRole> list);

}
